<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="generator" content="ApiGen 2.4.0">

	<title>Class RedMVC\Model\AModelClosureTable | RedMVC Framework</title>

	<script type="text/javascript" src="resources/combined.js?1841058525"></script>
	<script type="text/javascript" src="elementlist.js?356506387"></script>
	<script type="text/javascript">
		var ApiGen = ApiGen || {};
		ApiGen.options = {"elementDetailsCollapsed":true,"elementsOrder":"natural"};
	</script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3295955786">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>

		<div id="groups">

			<h3>Namespaces</h3>
			<ul>
				<li><a href="namespace-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="namespace-RedMVC.html">RedMVC</a>
						<span></span>
						<ul>
				<li><a href="namespace-RedMVC.Auth.html">Auth</a>
						<span></span>
						<ul>
				<li><a href="namespace-RedMVC.Auth.Adapter.html">Adapter</a>
						</li>
				<li><a href="namespace-RedMVC.Auth.Storage.html">Storage</a>
						</li>
							</ul></li>
				<li><a href="namespace-RedMVC.CodeGenerator.html">CodeGenerator</a>
						</li>
				<li><a href="namespace-RedMVC.Controller.html">Controller</a>
						</li>
				<li><a href="namespace-RedMVC.DataTable.html">DataTable</a>
						</li>
				<li><a href="namespace-RedMVC.Db.html">Db</a>
						</li>
				<li><a href="namespace-RedMVC.Drawing.html">Drawing</a>
						<span></span>
						<ul>
				<li><a href="namespace-RedMVC.Drawing.Color.html">Color</a>
						</li>
							</ul></li>
				<li><a href="namespace-RedMVC.Event.html">Event</a>
						</li>
				<li><a href="namespace-RedMVC.Feed.html">Feed</a>
						</li>
				<li><a href="namespace-RedMVC.Form.html">Form</a>
						<span></span>
						<ul>
				<li><a href="namespace-RedMVC.Form.Element.html">Element</a>
						</li>
				<li><a href="namespace-RedMVC.Form.Filter.html">Filter</a>
						</li>
				<li><a href="namespace-RedMVC.Form.Validator.html">Validator</a>
						</li>
							</ul></li>
				<li><a href="namespace-RedMVC.Http.html">Http</a>
						</li>
				<li><a href="namespace-RedMVC.Mail.html">Mail</a>
						</li>
				<li class="active"><a href="namespace-RedMVC.Model.html">Model</a>
						</li>
				<li><a href="namespace-RedMVC.Router.html">Router</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr>

		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-RedMVC.Model.AModel.html">AModel</a></li>
				<li class="active"><a href="class-RedMVC.Model.AModelClosureTable.html">AModelClosureTable</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text">
		<input type="submit" value="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-RedMVC.Model.html" title="Summary of RedMVC\Model"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class AModelClosureTable</h1>

	<div class="description">
	
<p>AModelClosureTable class</p>

	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-RedMVC.Model.AModel.html">RedMVC\Model\AModel</a>
			
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by">
<b>RedMVC\Model\AModelClosureTable</b>			
			
			
		</dd>
	</dl>







	<div class="info">
		<b>Abstract</b><br>
		
		<b>Namespace:</b> <a href="namespace-RedMVC.html">RedMVC</a>\<a href="namespace-RedMVC.Model.html">Model</a><br>

				<b>Category:</b>
				RedMVC<br>
				<b>Package:</b>
				Model<br>
				<b>Author:</b>
				Jan Fischer, bitWorking &lt;<a
href="mailto:info&#64;bitworking.de">info&#64;<!---->bitworking.de</a>&gt;<br>
		<b>Located at</b> <a href="source-class-RedMVC.Model.AModelClosureTable.html#7" title="Go to source code">Model/AModelClosureTable.php</a><br>
	</div>


	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="getClosureTable" id="_getClosureTable">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getClosureTable">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#28" title="Go to source code">getClosureTable</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="init" id="_init">

		<td class="attributes"><code>
			
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_init">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#32" title="Go to source code">init</a>( <span>array <var>$values</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="addRoot" id="_addRoot">

		<td class="attributes"><code>
			
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_addRoot">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#50" title="Go to source code">addRoot</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="save" id="_save">

		<td class="attributes"><code>
			
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_save">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#54" title="Go to source code">save</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="_byId" id="__byId">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__byId">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#84" title="Go to source code">_byId</a>( <span> <var>$id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="_delete" id="__delete">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__delete">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#92" title="Go to source code">_delete</a>( <span> <var>$id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="deleteSubtree" id="_deleteSubtree">

		<td class="attributes"><code>
			
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_deleteSubtree">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#100" title="Go to source code">deleteSubtree</a>( <span> <var>$id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="_deleteSubtree" id="__deleteSubtree">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__deleteSubtree">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#105" title="Go to source code">_deleteSubtree</a>( <span> <var>$id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="getChilds" id="_getChilds">

		<td class="attributes"><code>
			
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getChilds">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#113" title="Go to source code">getChilds</a>( <span> <var>$id</var></span>, <span> <var>$includeSelf</var> = <span class="php-keyword1">false</span></span>, <span> <var>$whereClauses</var> = <span class="php-keyword1">array</span>()</span>, <span> <var>$maxTreeDepth</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="_getChilds" id="__getChilds">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getChilds">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#118" title="Go to source code">_getChilds</a>( <span> <var>$id</var></span>, <span> <var>$includeSelf</var></span>, <span> <var>$whereClauses</var></span>, <span> <var>$maxTreeDepth</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="getChildsPath" id="_getChildsPath">

		<td class="attributes"><code>
			
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getChildsPath">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#127" title="Go to source code">getChildsPath</a>( <span> <var>$id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="_getChildsPath" id="__getChildsPath">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getChildsPath">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#132" title="Go to source code">_getChildsPath</a>( <span> <var>$id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="getFirstChilds" id="_getFirstChilds">

		<td class="attributes"><code>
			
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getFirstChilds">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#141" title="Go to source code">getFirstChilds</a>( <span> <var>$id</var></span>, <span> <var>$includeSelf</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="_getFirstChilds" id="__getFirstChilds">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getFirstChilds">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#146" title="Go to source code">_getFirstChilds</a>( <span> <var>$id</var></span>, <span> <var>$includeSelf</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="getParents" id="_getParents">

		<td class="attributes"><code>
			
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getParents">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#155" title="Go to source code">getParents</a>( <span> <var>$id</var></span>, <span> <var>$includeSelf</var> = <span class="php-keyword1">false</span></span>, <span> <var>$sort</var> = <code><a href="class-RedMVC.Db.C.html#SORT_DESC">RedMVC\Db\C::<b>SORT_DESC</b></a></code></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="_getParents" id="__getParents">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getParents">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#160" title="Go to source code">_getParents</a>( <span> <var>$id</var></span>, <span> <var>$includeSelf</var></span>, <span> <var>$sort</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="getParent" id="_getParent">

		<td class="attributes"><code>
			
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getParent">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#169" title="Go to source code">getParent</a>( <span> <var>$id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	<tr data-order="_getParent" id="__getParent">

		<td class="attributes"><code>
			
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getParent">#</a>
		<code><a href="source-class-RedMVC.Model.AModelClosureTable.html#174" title="Go to source code">_getParent</a>( <span> <var>$id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-RedMVC.Model.AModel.html#methods">RedMVC\Model\AModel</a></caption>
	<tr>
		<td><code>
<a href="class-RedMVC.Model.AModel.html#___construct">__construct()</a>, 
<a href="class-RedMVC.Model.AModel.html#___get">__get()</a>, 
<a href="class-RedMVC.Model.AModel.html#___isset">__isset()</a>, 
<a href="class-RedMVC.Model.AModel.html#___set">__set()</a>, 
<a href="class-RedMVC.Model.AModel.html#___unset">__unset()</a>, 
<a href="class-RedMVC.Model.AModel.html#__byKey">_byKey()</a>, 
<a href="class-RedMVC.Model.AModel.html#__byKeys">_byKeys()</a>, 
<a href="class-RedMVC.Model.AModel.html#__fetch">_fetch()</a>, 
<a href="class-RedMVC.Model.AModel.html#__fetchAll">_fetchAll()</a>, 
<a href="class-RedMVC.Model.AModel.html#__query">_query()</a>, 
<a href="class-RedMVC.Model.AModel.html#__whereCondition">_whereCondition()</a>, 
<a href="class-RedMVC.Model.AModel.html#_byId">byId()</a>, 
<a href="class-RedMVC.Model.AModel.html#_byKey">byKey()</a>, 
<a href="class-RedMVC.Model.AModel.html#_byKeys">byKeys()</a>, 
<a href="class-RedMVC.Model.AModel.html#_delete">delete()</a>, 
<a href="class-RedMVC.Model.AModel.html#_fetchAll">fetchAll()</a>, 
<a href="class-RedMVC.Model.AModel.html#_setDb">setDb()</a>, 
<a href="class-RedMVC.Model.AModel.html#_toArray">toArray()</a>
		</code></td>
	</tr>
	</table>






	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="closureTable" id="$closureTable">

		<td class="attributes"><code>
			
			protected 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Model.AModelClosureTable.html#17" title="Go to source code"><var>$closureTable</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">null</span></code></td>
		<td class="description"><div>
			<a href="#$closureTable" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="order" id="$order">

		<td class="attributes"><code>
			
			protected 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Model.AModelClosureTable.html#18" title="Go to source code"><var>$order</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">null</span></code></td>
		<td class="description"><div>
			<a href="#$order" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="label" id="$label">

		<td class="attributes"><code>
			
			protected 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Model.AModelClosureTable.html#19" title="Go to source code"><var>$label</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">null</span></code></td>
		<td class="description"><div>
			<a href="#$label" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Properties inherited from <a href="class-RedMVC.Model.AModel.html#properties">RedMVC\Model\AModel</a></caption>
	<tr>
		<td><code>
<a href="class-RedMVC.Model.AModel.html#$db"><var>$db</var></a>, 
<a href="class-RedMVC.Model.AModel.html#$fields"><var>$fields</var></a>, 
<a href="class-RedMVC.Model.AModel.html#$primary"><var>$primary</var></a>, 
<a href="class-RedMVC.Model.AModel.html#$table"><var>$table</var></a>, 
<a href="class-RedMVC.Model.AModel.html#$values"><var>$values</var></a>
		</code></td>
	</tr>
	</table>

</div>

	<div id="footer">
		RedMVC Framework API documentation generated by <a href="http://apigen.org">ApiGen 2.4.0</a>
	</div>
</div>
</div>
</body>
</html>
